@extends('admin.common.framework') 
@section('content')
<div class="row">
    <div class="col-lg-12">
        <h3 class="page-header">用户管理</h3>
    </div>
    <!-- /.col-lg-12 -->
</div>
<div class="row">
    <div class="col-lg-12">
        <div class="panel panel-default">
            <div class="panel-heading">
                列表
            </div>
            <!-- /.panel-heading -->
            <div class="panel-body">
                <div class="table-responsive">
                    <table class="table table-hover" id="menu-table">
                        <thead>
                            <tr>
                                @foreach($list[0] as $key => $val)
                                <th class="col-lg-1">{{$key}}</th>
                                @endforeach
                            </tr>
                        </thead>
                        <tbody>
                            @foreach($list as $li)
                            <tr>
                                @foreach($li as $k => $v)
                                <td>{{$v}}</td>
                                @endforeach
                            </tr>
                            @endforeach
                            <tr>
                                <td></td>
                                <td colspan="2">{{$list->links()}}</td>
                            </tr>
                        </tbody>
                    </table>
                </div>
                <!-- /.table-responsive -->
            </div>
            <!-- /.panel-body -->
        </div>
        <!-- /.panel -->
    </div>
</div>
@endsection
 
@section('scripts')
<script src="{{ env('APP_STATIC') }}vendor/cropper/dist/cropper.min.js"></script>
<script>
</script>
<script src="{{ env('APP_STATIC') }}admin/js/user.js"></script>
@endsection